home *** CD-ROM | disk | FTP | other *** search
- //---------------------------------------------------------------------------
- #ifndef ButtonH
- #define ButtonH
- //---------------------------------------------------------------------------
- #include <vcl\Classes.hpp>
- #include <vcl\Controls.hpp>
- #include <vcl\StdCtrls.hpp>
- #include <vcl\Forms.hpp>
- #include <vcl\ExtCtrls.hpp>
- //---------------------------------------------------------------------------
- class TButtonForm : public TForm
- {
- __published: // IDE-managed Components
- TButton *OK;
- TButton *Ignore;
- TButton *Cancel;
- TButton *Abort;
- TButton *Retry;
- TButton *Yes;
- TButton *No;
- TLabel *Label1;
- TBevel *Bevel1;
- TPanel *Panel1;
- TButton *EnableAllButton;
- TButton *DisableAllButton;
- void __fastcall EnableAllButtonClick(TObject *Sender);
- private: // User declarations
- public: // User declarations
- virtual __fastcall TButtonForm(TComponent* Owner);
- void EnableButtons(TForm* form, bool enable = true);
- };
- //---------------------------------------------------------------------------
- extern TButtonForm *ButtonForm;
- //---------------------------------------------------------------------------
- #endif
-